2007-01-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkstyle.c (option_menu_get_props)
* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
gtk_border_free when freeing borders.
svn path=/trunk/; revision=17032
+2007-01-03 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkstyle.c (option_menu_get_props)
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
+ gtk_border_free when freeing borders.
+
2007-01-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (get_text_area_size): Work when the
props->indicator_spacing = default_props.indicator_spacing;
g_free (indicator_size);
- g_free (indicator_spacing);
+ gtk_border_free (indicator_spacing);
}
static void
if (tmp_spacing)
{
*indicator_spacing = *tmp_spacing;
- g_free (tmp_spacing);
+ gtk_border_free (tmp_spacing);
}
else
*indicator_spacing = default_option_indicator_spacing;